package com.ydy.file.service;

import com.ydy.common.model.FileInfo;
import com.ydy.common.vo.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface FileService {

    void insertFileInfo(FileInfo fileInfo);

    List<FileInfo> queryFileInfo(FileInfo fileInfo, PageInfo pageInfo);

    void deleteFileInfo(FileInfo fileInfo);

    FileInfo getFileInfo(MultipartFile file, String fileType);
}
